Skip to content

feat(eif): embed os-release into rpm2eif rootfs - #720

Draft
jmt-lab wants to merge 1 commit into
feat/eif-signing-06-img2img-guest-eif-resignfrom
feat/eif-signing-07-os-release
Draft

feat(eif): embed os-release into rpm2eif rootfs#720
jmt-lab wants to merge 1 commit into
feat/eif-signing-06-img2img-guest-eif-resignfrom
feat/eif-signing-07-os-release

Conversation

@jmt-lab

@jmt-lab jmt-lab commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Mirror the os-release append that rpm2img performs, so EIF-built rootfs
images expose the same identifying fields (VERSION, PRETTY_NAME,
VARIANT_ID, VERSION_ID, BUILD_ID, VENDOR_NAME, and the canonical URLs)
to userspace. Unlike rpm2img, INSTALL_ROOT already points at the merged
sysroot, so the append writes directly to ${INSTALL_ROOT}/usr/lib/os-release
without the ${ARCH}-bottlerocket-linux-gnu/sys-root prefix.

@jmt-lab jmt-lab changed the title feat/eif signing 07 os release feat(eif): embed os-release into rpm2eif rootfs Aug 12, 2026
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 35a170c to 3e75c59 Compare August 12, 2026 23:59
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 3e75c59 to 0a2e52c Compare August 13, 2026 20:14
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 0a2e52c to bc43ba5 Compare August 13, 2026 20:22
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from bc43ba5 to 2051e91 Compare August 13, 2026 20:31
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 2051e91 to 8397761 Compare August 13, 2026 22:59
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 8397761 to 5effc29 Compare August 14, 2026 00:03
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 5effc29 to 5907e91 Compare August 14, 2026 20:40
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 5907e91 to 2fcb188 Compare August 14, 2026 21:21
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 2fcb188 to bd053c6 Compare August 14, 2026 21:24
Mirror the os-release append that rpm2img performs, so EIF-built rootfs
images expose the same identifying fields (VERSION, PRETTY_NAME,
VARIANT_ID, VERSION_ID, BUILD_ID, VENDOR_NAME, and the canonical URLs)
to userspace. Unlike rpm2img, INSTALL_ROOT already points at the merged
sysroot, so the append writes directly to ${INSTALL_ROOT}/usr/lib/os-release
without the ${ARCH}-bottlerocket-linux-gnu/sys-root prefix.
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from bd053c6 to eed4c7c Compare August 14, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant